package com.lagou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lagou.pojo.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Author: zhoushiduo
 * @Date: 2020/12/12 23:24
 */

@Mapper
/*public interface ArticleMapper {
    @Select("select * from t_article")
    List<Article> find();
}*/
public interface ArticleMapper extends BaseMapper<Article> {
    List<Article> findAll();
    List<Article> findByWhere(Article article);
}
